//
//  NSDictionary+Honda.h
//  Honda
//
//  Created by Wang.Xinlei on 4/9/13.
//  Copyright (c) 2013 HeninHoo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDictionary (Honda)

+ (BOOL)validDictionary:(NSDictionary *)dictionary;
+ (BOOL)invalidDictionary:(NSDictionary *)dictionary;

+ (NSDictionary *)dictionaryWithDictionaryOrNil:(NSDictionary *)dictionaryOrNil;

- (id)initWithDictionaryOrNil:(NSDictionary *)dictionaryOrNil;

- (id)objectForNilOrKey:(id)key;

@end


@interface NSMutableDictionary (Honda)

+ (NSMutableDictionary *)mutableDictionaryWithDictionaryOrNil:(NSDictionary *)dictionaryOrNil;

- (void)setNilOrObject:(id)nilOrObject forKey:(id <NSCopying>)aKey;

@end
